package com.youlai.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.bo.AssetComputerBO;
import com.youlai.system.model.entity.AssetComputer;
import com.youlai.system.model.form.ComputerForm;
import com.youlai.system.model.query.ComputerPageQuery;
import com.youlai.system.model.query.UserPageQuery;
import com.youlai.system.model.vo.AssetComputerImportVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface AssetComputerMapper extends BaseMapper<AssetComputer> {

    Page<AssetComputerBO> listPagedComputer(Page<AssetComputerBO> page, ComputerPageQuery queryParams);

    ComputerForm getComputerFormData(Long computerId);

    List<AssetComputerImportVO> listExportComputers(@Param("queryParams") ComputerPageQuery queryParams);
}
